
define clean
    go clean
endef

define tidy
    go mod tidy
endef

define test
    go test ./...
endef

define check
    go vet ./...
endef

all:
	$(call clean)
	$(call tidy)
	$(call test)
clean:
	$(call clean)
tidy:
	$(call tidy)
test:
	$(call test)
test-detail:
	go test ./... -v
check:
	$(call check)